package com.redis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author lizhilong
 * @create 2020/7/15 15:36
 * @desc
 */
@ConfigurationProperties(prefix = "redisson")
@Data
@Component
public class RedissonProperties {

    private String nodes;

    private Integer connectionPoolSize;

    private Integer connectionMinimumIdleSize;

    private Integer timeout;
}
